// (c) 2006 Messaging Logic. All Rights Reserved.
package org.xi8ix.jdbc;

/**
 * Allows simple statement to throw runtime exceptions when database access errors
 * occur. The runtime nature of the exceptions keeps the code cleaner since database
 * access errors are rarely caught where they initial occur (most are allowed to bubble
 * up to a high level try block since any data access error is generically a "bad thing").
 *
 * @author Iain Shigeoka
 */
public class SimpleStatementException extends RuntimeException {

    public SimpleStatementException() {
        super();
    }

    public SimpleStatementException(String message) {
        super(message);
    }

    public SimpleStatementException(String message, Throwable cause) {
        super(message, cause);
    }

    public SimpleStatementException(Throwable cause) {
        super(cause);
    }
}
